cmake_minimum_required(VERSION 2.8)
project(mat264)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR})
find_package(FFmpeg REQUIRED)
find_package(Opencv REQUIRED)
include_directories(${FFMPEG_INCLUDE_DIR} ${OPENCV_INCLUDE_DIR})
add_executable(${PROJECT_NAME} AvH264.cpp main.cpp)
target_link_libraries(${PROJECT_NAME} ${FFMPEG_LIBRARY} ${OPENCV_LIBRARY})